<?php

namespace Xehang\Enum;

use Illuminate\Support\ServiceProvider;

class EnumServiceProvider extends ServiceProvider
{

    protected $commands = [
        Console\EnumMakeCommand::class,
    ];

    /**
     * boot the service provider
     * @return void
     */
    public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->commands($this->commands);
        }
    }

    /**
     * register the service provider
     * @return void
     */
    public function register()
    {
        //
    }
}
